pipeline{
    agent any
    stages{
      stage("test"){
        steps{
          script{
            wrap([$class: 'BuildUser']) {
                echo "Current build user: ${env.BUILD_USER}"
                echo "Current build user id: ${env.BUILD_USER_ID}"
                echo "Current build user email: ${env.BUILD_USER_EMAIL}"
            }
          }
        }
      }
    }
}